Skip to content

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 26, 2025

Basic Info

Info Please fill out this column
Ticket(s) this addresses N/A
Primary OS tested on Fedora
Is this a breaking change? No
Does this PR contain AI generated software? No

Description of contribution in a few bullet points

This commit extends vcs2l's tag detection scheme to support annotated tags, building on the existing support for lightweight tags. The new detection logic adds awareness of some git plumbing details regarding how the tag's message is stored in relation to the SHA it references.

I updated the test to use an annotated tag for one of the tags in the list to exercise this feature.

Specifically, this affects the vcs export command when --exact-with-tags is used.

Description of how this change was tested

  • Performed linting validation using pre-commit run --all
  • Verified that the code passes all tests using python3 -m pytest -s -v test

Important

This is in "draft" against the cottsay/offline-tests branch until that PR is merged. I'll then rebase this against main for final review.

Relying only on local resources results in more reliable test results
and enables development without reliable internet access.

Signed-off-by: Scott K Logan <logans@cottsay.net>
This commit extends vcs2l's tag detection scheme to support annotated
tags, building on the existing support for lightweight tags. The new
detection logic adds awareness of some git plumbing details regarding
how the tag's message is stored in relation to the SHA it references.

I updated the test to use an annotated tag for one of the tags in the
list to exercise this feature.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay self-assigned this Sep 26, 2025
@cottsay cottsay added the bug Something isn't working label Sep 26, 2025
nuclearsandwich
nuclearsandwich previously approved these changes Oct 3, 2025
@cottsay cottsay force-pushed the cottsay/offline-tests branch from b1aeee0 to 79c194d Compare October 11, 2025 19:12
Base automatically changed from cottsay/offline-tests to main October 12, 2025 09:14
@leander-dsouza leander-dsouza dismissed nuclearsandwich’s stale review October 12, 2025 09:14

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants